#include "db.hpp"
#include "daemon.hpp"
#include "service.hpp"
#include "Log.hpp"
#include <thread>
using namespace std;

#define HOST "127.0.0.1"
#define PORT 3306
#define USER "root"
#define PASS "111111"
#define DBNAME "mqtt"


int main()
{
    //Daemon();
    user_table ut(HOST, USER, PASS);

    Service ss(ut);
    ss.runModual();
    return 0;
}


